/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.brainy.perseu.manegerworker.bean;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Temporal;

/**
 *
 * @author Luiz Segundo
 */
@Entity
public class Expediente implements Serializable{
        @Id
        private int id;
   
        @Temporal(javax.persistence.TemporalType.DATE)
        private Date horarioInicio;
        @Temporal(javax.persistence.TemporalType.DATE)
        private Date horarioSaida;

        public int getId() {
                return id;
        }

        public void setId(int id) {
                this.id = id;
        }

        public Date getHorarioInicio() {
                return horarioInicio;
        }

        public void setHorarioInicio(Date horarioInicio) {
                this.horarioInicio = horarioInicio;
        }

        public Date getHorarioSaida() {
                return horarioSaida;
        }

        public void setHorarioSaida(Date horarioSaida) {
                this.horarioSaida = horarioSaida;
        }
}
